﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace YJYpublicClass
{
    public partial class SysTemDataFrm : Form
    {
        public SysTemDataFrm()
        {
            InitializeComponent();
        }

        private void btn_SaveData_Click(object sender, EventArgs e)
        {
            if (XmlHelper.SaveXML(SystemPras.SyspPrasFpath, 外设.SysPras) == "")
            {
                MessageBox.Show("保存成功");
            }
            else
            {
                MessageBox.Show("保存失败");
            }

        }

        private void btn_load_Click(object sender, EventArgs e)
        {

        }

        private void SysTemDataFrm_Load(object sender, EventArgs e)
        {
            SysPDV.SelectedObject = 外设.SysPras;
         
        }
    }
}
